export default {
    exclude: 'node_modules/**',
    babelHelpers: 'bundled',
    // babelHelpers: 'runtime',
    presets: [
        [
            '@babel/preset-env',
            {
                // modules: false,
                // spec: true,
                // forceAllTransforms: true,
                targets: {
                    browsers: '> 1%, IE 11, not op_mini all, not dead'
                },
                useBuiltIns: 'usage',
                corejs: '3.9.1'
            }
        ],
        '@babel/preset-typescript'
    ],
    plugins: [
        // '@babel/plugin-transform-runtime',
        '@babel/plugin-proposal-class-properties',
        ['@babel/plugin-transform-classes', {
            'loose': true
        }]
    ]
};